package org.millioncall.yueyoga.admin.model;

import java.io.Serializable;

/**  
* @author lisj 
* Mar 25, 2014 11:24:32 AM 
*/
public class Status implements Serializable{
    
	private static final long serialVersionUID = -5753305857437480250L;

	private Integer id;
    private String name;
    private String code;
    private Integer type;
    private String parentcode;
    private Status parent;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getParentcode() {
        return parentcode;
    }

    public void setParentcode(String parentcode) {
        this.parentcode = parentcode == null ? null : parentcode.trim();
    }

	public Status getParent() {
		return parent;
	}

	public void setParent(Status parent) {
		this.parent = parent;
	}
}